<template>
  <div id="app">
    <van-skeleton title :row="3" v-if="isShow" />
    <router-view v-else>
      
    </router-view>
  </div>
</template>

<script setup>
import { ref, watch } from 'vue'

import { useRoute, useRouter } from 'vue-router'
let isShow = ref('')
const router = useRouter()
const route = useRoute()
watch(route, (newValue, oldValue) => {
  isShow.value = true
  setTimeout(() => {
    isShow.value = false
  }, 500)
})
</script>

<style lang="scss" scoped></style>